namespace SeataNet.Core.Common
{
    /// <summary>
    /// 结果代码枚举
    /// </summary>
    public enum ResultCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        Success = 0,

        /// <summary>
        /// 失败
        /// </summary>
        Failed = 1,

        /// <summary>
        /// 未知错误
        /// </summary>
        Unknown = 2,

        /// <summary>
        /// 超时
        /// </summary>
        Timeout = 3,

        /// <summary>
        /// 参数错误
        /// </summary>
        InvalidParameter = 4,

        /// <summary>
        /// 未找到
        /// </summary>
        NotFound = 5
    }
}
